package tech.aistar.day06.exercise1;

public class Worf extends Animal {
	private String name;
	private double weight;

	public Worf(String name, double weight) {
		//super();
		System.out.println("==3==");
		this.name = name;
		this.weight = weight;
	}

	public String getDesc() {
		System.out.println("==2==");
		return "Worf:" + name + ",体重:" + weight;
	}

	public static void main(String[] args) {
		System.out.println(new Worf("猪", 10));
	}
}
